-- GENERATED SPELL FOR [Vilebranch Raiding Wolf] --


function spell0_2681(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_2681', 661, 1)
end

function Sorts_2681(pUnit, Event)
local choix_sorts_2681 = math.random(0, 0)
if choix_sorts_2681 == 0 then
pUnit:RegisterEvent('spell0_2681', 1, 1)
end
end

function mob2681_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2681', math.random(1500, 3000), 1)
end

function mob2681_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2681_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2681_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2681, 1, 'mob2681_Action')
RegisterUnitEvent(2681, 2, 'mob2681_Leave')
RegisterUnitEvent(2681, 3, 'mob2681_Kill')
RegisterUnitEvent(2681, 4, 'mob2681_Die')
